using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.VisualStudio.Package;
using System.Runtime.InteropServices;
using Microsoft.VisualStudio;
using System.IO;
using System.ComponentModel;

namespace NBusiness.VisualStudio
{
    [GuidAttribute(Guids.guidESharpProjectPropertyPageString)]
    public class ESharpProjectNodeProperties : ProjectNodeProperties
    {
        #region ctors
        public ESharpProjectNodeProperties(ProjectNode node)
            : base(node)
        {
        }
        #endregion

        #region properties
        [Browsable(false)]
        public string OutputFileName
        {
            get
            {
                return ((ESharpProjectNode)(this.Node.ProjectMgr)).OutputFileName;
            }
        }

        [Browsable(false)]
        public string DefaultFamily
        {
            get
            {
                return this.Node.ProjectMgr.GetProjectProperty(ProjectFileConstants.RootNamespace);
            }
            set
            {
                this.Node.ProjectMgr.SetProjectProperty(ProjectFileConstants.RootNamespace, value);
            }
        }
        #endregion
    }
}
